Package-level declarations

Types

Link copied to clipboard

Altitude mode indicates how WorldWind interprets a position's altitude component. Accepted values are ABSOLUTE, ABOVE_SEA_LEVEL, CLAMP_TO_GROUND and RELATIVE_TO_GROUND.

Link copied to clipboard
Link copied to clipboard
open class BoundingBox

Represents a bounding box in Cartesian coordinates. Typically used as a bounding volume.

Link copied to clipboard
open class BoundingSphere

Represents a bounding sphere in Cartesian coordinates. Typically used as a bounding volume.

Link copied to clipboard
open class Camera
Link copied to clipboard

Builds a world WGS84-ECEF -> image-UV 4x4 matrix for a camera at a known geographic position looking at a known geographic target. The output matrix takes a world ECEF position to image clip space; downstream code divides xy/w to land in image UV in 0, 1 across the camera's frustum.

Link copied to clipboard
data class Ellipsoid(val semiMajorAxis: Double, val inverseFlattening: Double)

Oblate ellipsoid with semi-major axis and inverse flattening.

Link copied to clipboard
open class Frustum

Represents a six-sided view frustum in Cartesian coordinates with a corresponding viewport in screen coordinates.

Link copied to clipboard
open class Line

Represents a line in Cartesian coordinates.

Link copied to clipboard
open class Location(var latitude: Angle, var longitude: Angle)

Geographic location with a latitude and longitude.

Link copied to clipboard
open class LookAt(val position: Position, var altitudeMode: AltitudeMode, var range: Double, var heading: Angle, var tilt: Angle, var roll: Angle)
Link copied to clipboard
open class Matrix3

3 x 3 matrix in row-major order.

Link copied to clipboard
open class Matrix4

4 x 4 matrix in row-major order.

Link copied to clipboard
data class Offset(var xUnits: OffsetMode, var x: Double, var yUnits: OffsetMode, var y: Double)

Specifies an offset relative to a rectangle. Used by renderable shapes.

Link copied to clipboard

Offset mode indicates how WorldWind interprets an offset's x and y values. Accepted values are FRACTION, INSET_PIXELS and PIXELS.

Link copied to clipboard
open class Plane

Represents a plane in Cartesian coordinates. The plane's X, Y and Z components indicate the plane's normal vector. The distance component indicates the plane's distance from the origin relative to its unit normal.

Link copied to clipboard
open class Position(latitude: Angle, longitude: Angle, var altitude: Double) : Location

Geographic position with a latitude and longitude and altitude in meters.

Link copied to clipboard
open class Range(var lower: Int, var upper: Int)

Continuous interval in a one-dimensional coordinate system expressed as a lower bound an an upper bound, inclusive.

Link copied to clipboard
open class Sector(var minLatitude: Angle, var maxLatitude: Angle, var minLongitude: Angle, var maxLongitude: Angle)

Geographic rectangular region.

Link copied to clipboard

Rigid rotation on a unit sphere that takes from to to, applied via Rodrigues' formula.

Link copied to clipboard
open class TileMatrix
Link copied to clipboard
open class TileMatrixSet(val sector: Sector, val entries: List<TileMatrix>)
Link copied to clipboard
open class Vec2(var x: Double, var y: Double)

Two-component vector with X and Y coordinates.

Link copied to clipboard
open class Vec3(x: Double, y: Double, var z: Double) : Vec2

Three-component vector with X, Y and Z coordinates.

Link copied to clipboard
open class Viewport(var x: Int, var y: Int, var width: Int, var height: Int)

Rectangular region in a two-dimensional coordinate system expressed as an origin and dimensions extending from the origin.